package com.kawaiior.asoulworld.world.biomes;


import net.minecraft.init.Blocks;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.gen.feature.WorldGenAbstractTree;
import net.minecraft.world.gen.feature.WorldGenBigTree;
import net.minecraft.world.gen.feature.WorldGenMinable;

import java.util.Random;


public class BiomeAsoulPlain extends Biome {

    protected static final WorldGenAbstractTree TREE = new WorldGenBigTree(false);


    public BiomeAsoulPlain(BiomeProperties properties) {
        super(properties);
    }

    public BiomeAsoulPlain(){
        super(new BiomeProperties("asoul_plain").setBaseHeight(1.5F).setHeightVariation(0.1F).setTemperature(0.6F).setRainDisabled().setWaterColor(16711680));

        topBlock = Blocks.DIRT.getDefaultState();
        fillerBlock = Blocks.BRICK_BLOCK.getDefaultState();

        decorator.coalGen = new WorldGenMinable(Blocks.PLANKS.getDefaultState(), 10);

        decorator.treesPerChunk = 2;

        this.spawnableCreatureList.clear();
        this.spawnableCaveCreatureList.clear();
        this.spawnableMonsterList.clear();
        this.spawnableWaterCreatureList.clear();
    }

    @Override
    public WorldGenAbstractTree getRandomTreeFeature(Random random)
    {
        return TREE;
    }

}
